package com.dlnu.shoping.shopping.service.impl;

import com.dlnu.shoping.shopping.common.Result;
import com.dlnu.shoping.shopping.mapper.RecommendDao;
import com.dlnu.shoping.shopping.service.RecommendService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RecommendServiceImpl implements RecommendService {
    @Resource
    private RecommendDao recommendDao;

    @Override
    public Result search() {
        return new Result(recommendDao.queryRecommend());

    }
}
